package com.river.springbootdemo.thinkingjava.staticpractice;

public class Mugs {
    public static void main(String[] args) {
        new Mm();
    }
}

class Mug {
    static Base base3 = new Base(3);

    Mug() {
        System.out.println("Mug");
    }

    static Base base4 = new Base(4);
}

class Mm extends Mug {
    static Base base1 = new Base(1);
    Base basemm = new Base(11);

    Mm() {
        System.out.println("mm");
    }

    static Base base2 = new Base(2);
}

class Base {
    Base(int i) {
        System.out.println("baise(" + i + ")");
    }
}
